package com.social.constant;

/**
 * @Author: XiaoXu
 * @Description:
 * @Date: Created in 18:38 2022/9/29
 * @Modified By:
 * @Version: 1.0
 */
public class RedisConstants {

    public static final String COMPLAINT_ID_KEY = "complaint:id:key:";
    public static final Long COMPLAINT_ID_TTL = 30L;

    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 30L;


    public static final String PETITION_ID_KEY = "petition:id:key:";
    public static final Long  PETITION_ID_TTL = 30L;
    public static final String PETITION_CODE_KEY = "petition:code:key:";
    public static final Long  PETITION_CODE_TTL = 30L;

    public static final String  ACTIVITY_ID_KEY = "activity:id:key:";
    public static final String ACTIVITY_USER_KEY = "activity:user:key";

    public static final Long  ACTIVITY_USER_TTL = 30L;
    public static final Long  ACTIVITY_ID_TTL = 30L;
    public static final String PERSON_ID_KEY = "person:id:key";
    public static final Long PERSON_ID_TTL = 30L;
    public static final String PERSON_PHONE_KEY = "person:phone:key";
    public static final Long PERSON_PHONE_TTL = 30L;
    public static final String PERSON_USERNAME_KEY = "person:username:key";
    public static final Long PERSON_USERNAME_TTL = 30L;
    public static final String PERSON_CITY_KEY = "person:city:key";
    public static final Long PERSON_CITY_TTL = 30L;
    public static final String PERSON_STREET_KEY = "person:street:key";
    public static final Long PERSON_STREET_TTL = 30L;

    public static final String  ACTIVITY_NUMBER_KEY = "activity:number:key";

    public static final String ACTIVITY_RANK_SET = "activity:set:rank";

    public static final String ACTIVITY_ALL_SET = "activity:set:all";
    public static final String  ACTIVITY_CATEGORY_KEY = "activity:category:key:";

    public static final Long  ACTIVITY_CATEGORY_TTL = 30L;
    public static final Long CACHE_BLANK_TTL = 30L;

    public static final String SYSTEM_MENU_KEY = "system:menu:key";
    public static final Long SYSTEM_MENU_TTL = 30L;

    public static final String SYSYTEM_ROLE_KEY = "system:role:key";
    public static final Long SYSTEM_ROLE_TTL = 30L;
    public static final String ROLE_MENU_KEY = "role:menu:key";
    public static final Long ROLE_MENU_TTL = 30L;

    public static final String ROLE_USER_KEY = "role:user:key";
    public static final Long ROLE_USER_TTL = 30L;

    public static final String AES_KEY_KEY = "aes:key:key:";
    public static final Long AES_KEY_TTL = 30L;
    public static final String RSA_PRIVATE_KEY = "rsa:private:key:";
    public static final Long RSA_PRIVATE_TTL = 30L;
    public static final String RSA_PUBLIC_KEY = "rsa:public:key:";
    public static final Long RSA_PUBLIC_TTL = 30L;

    public static final String PETITION_FINDCODE_KEY = "petition:findcode:key";

    public static final String SYSTEM_PRIVATE_KEY = "system:private:key:";
    public static final Long SYSTEM_PRIVATE_TTL = 30L;
    public static final String VOLUNTEER_ID_NUMBER = "volunteer:id:number:";
    public static final String VOLUNTEER_ID_REGISTER = "volunteer:id:register:";

    public static final String COMPLAINT_USER_KEY = "complaint:user:key:";

    public static final Long COMPLAINT_USER_TTL = 30L;
    public static final String  ACTIVITY_LOCK_ID = "activity:lock:id:";

    public static final String NOTICE_ID_PREFIX = "notice:id:prefix";
    public static final String NOTICE_ID_KEY = "notice:id:key:";

    public static final Long NOTICE_ID_TTL = 30L;
}
